package torpedo_server.messages;

import java.io.Serializable;

public class WelcomeMessage extends Message implements Serializable {

    private String message;

    public WelcomeMessage(String message) {
        String start = "STARTWELCOME-";
        String end = "-ENDWELCOME";
        this.message = start + message + end;
    }

    public String getMessage() {
        return this.message;
    }

    @Override
    public String getType() {
        return ("WelcomeMessage");
    }
}